import request from "../api";

// 、、今日告警
export function todayWaring(param) {
	return request({
		url: "/hdralarmbase/findRealtimeAlarm",
		method: "get",
		params: param,
	});
}
// 、、历史告警
export function historyWaring(param) {
	return request({
		url: "/hdralarmbase/findHistoryAlarmTmp",
		method: "get",
		params: param,
	});
}
// 、、告警类型
export function getAlarmTypeInfo(param) {
	return request({
		url: "/hdralarmbase/getAlarmTypeInfo",
		method: "get",
		params: param,
	});
}
